<div class="view_header2">
		<!--[if intval($user.uid) eq intval($extendResult.topics.cr_uid)]-->
			<a id="member"><img src="<!--[modulepath]-->/pnimages/37.png" align="absmiddle"/>สำหรับเจ้าของประกาศ</a>
			<div class="tooltip"> 
				<div class="tooltip_head"></div>
				<div class="tooltip_content">
					<ul>
						<li>
							<a href="<!--[pnmodurl modname='InnoForum' func='status' id=$extendResult.topics.id status=3 field='type_id']-->&forward[module]=InnoForum&forward[func]=list&forward[ctrl]=posts&forward[id]=<!--[$extendResult.topics.id]-->">
								<img src="<!--[modulepath]-->/pnimages/transmit.png" />
								&nbsp;เปลี่ยนเป็น <font color="#FF0000">"ซื้อขายแล้ว"</font>
							</a>
						</li>
						<li>
							<a href="<!--[pnmodurl modname='InnoForum' func='form' ctrl='Topics' id=$extendResult.topics.id]-->">
								<img src="<!--[modulepath]-->/pnimages/pencil.png" align="absmiddle">
								&nbsp;<!--[pnml name='_INNOFORUM_USER_LIST_POSTS_Edit']-->
							</a>
						</li>
						<li>
							<a href="<!--[pnmodurl modname='InnoForum' func='delete' ctrl='Topics' id=$extendResult.topics.id uid=$user.uid]-->" onclick="return confirm('Are you sure you want to delete?')">
								<img src="<!--[modulepath]-->/pnimages/delete.png" align="absmiddle"/>
								&nbsp;<!--[pnml name='_INNOFORUM_USER_LIST_POSTS_DelTopic']-->
							</a>
						</li>
					</ul>
				</div>
				<div class="tooltip_footer"></div>
			</div> 	
		<!--[/if]-->
		<!--[if $user.level eq '800']-->  	
			<a id="admin"><img src="<!--[modulepath]-->/pnimages/38.png" align="absmiddle"/>สำหระผู้ดูแลระบบ</a>
			<div class="tooltip"> 
				<div class="tooltip_head"></div>
				<div class="tooltip_content">
					<ul>
						<li>
							<a href="<!--[pnmodurl modname='InnoForum' func='form' ctrl='Topics' id=$_GET.id]-->" title="<!--[pnml name='_INNOFORUM_ADMIN_LIST_TOPICS_EDIT']-->">
								<img src="<!--[modulepath]-->/pnimages/pencil.png" />
								&nbsp;<!--[pnml name='_INNOFORUM_USER_LIST_POSTS_Edit']-->
							</a>
						</li>
						<li>
							<a href="<!--[pnmodurl modname='InnoForum' func='delete' ctrl='Topics' id=$_GET.id uid=$user.uid]-->" title="<!--[pnml name='_INNOFORUM_ADMIN_LIST_TOPICS_DEL']-->" onclick="return confirm('Are you sure you want to delete?')">
								<img src="<!--[modulepath]-->/pnimages/delete.png" align="absmiddle"/>
								&nbsp;<!--[pnml name='_INNOFORUM_USER_LIST_POSTS_DelTopic']-->
							</a>
						</li>
					</ul>
				</div>
				<div class="tooltip_footer"></div>
			</div>
		<!--[/if]-->
</div>
<script> 
$(document).ready(function() {
	$("#member").tooltip({
	position: 'bottom center',
   offset: [10, 2],
   effect: 'slide',
	 relative:'false'
})
});

$(document).ready(function() {
	$("#admin").tooltip({
	position: 'bottom center',
   offset: [10, 2],
   effect: 'slide',
	 relative:'false'
})
});
</script> 
